<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
</head>
<body>

<div>
    <form action="./src/test.js">
        <input type="text" name="a"/>
    </form>
</div>
<script>
    function Point(x = 0, y = 0) {
        this.x = x;
        this.y = y;
    }

    const p = new Point();
    console.log(p);
</script>
</body>
</html>